module.exports.list = function (cb) {
  sql =
    "SELECT * FROM sp_permission_api as api LEFT JOIN sp_permission as main ON main.ps_id = api.ps_id WHERE main.ps_id is not null";
  database.driver.execQuery(sql, cb);
};
